Skip to content

Reject unsupported transaction statements safely - #21

Merged
lovasoa merged 4 commits into
mainfrom
review/custom-begin
Nov 27, 2026
Merged

lovasoa merged 4 commits into
mainfrom
review/custom-begin

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

A request for a read-only transaction via begin_with() could silently start a regular transaction. Custom transaction SQL now returns an error. If a nested begin is rejected, the outer transaction stays open.

Related to transaction behavior in #7.

@lovasoa
lovasoa merged commit 5c7c976 into main Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant